home *** CD-ROM | disk | FTP | other *** search
- --on rollSprite spritechannel,startcast,endcast
- -- global gpausetime
- -- if startcast < endcast then
- -- puppetsprite spritechannel,true
- -- --puppetSound 2, "swoosh.aif"
- -- repeat with i = startcast to endcast
- -- repeat with j = 1 to gpausetime
- -- end repeat
- -- set the castnum of sprite spritechannel to i
- -- updatestage
- -- end repeat
- -- else
- -- --puppetSound 2, "swoosh.aif"
- -- repeat with i = startcast down to endcast
- -- repeat with j = 1 to gpausetime
- -- end repeat
- -- set the castnum of sprite spritechannel to i
- -- updatestage
- -- end repeat
- -- end if
- --end